package com.neuedu.spring.di;


public class UserService{

    private Integer age;
    private String name;

    public UserService(Integer age, String name) {
        this.age = age;
        this.name = name;
    }

    public void sayHi(){
        System.out.println("UserService.sayHi");
        System.out.println("name = " + name);
        System.out.println("age = " + age);
    }
}
